package com.jchy.graph.gui;

import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JComboBox;
import javax.swing.JPanel;

import org.apache.log4j.Logger;

public class GraphItPanel  extends JPanel /* implements ActionListener */ {

	private static final long serialVersionUID = 999;

	private static Logger log = Logger.getLogger(GraphItPanel.class);
	
	
	//private MainScreenLabel mainScreen;
	//private JComboBox leftClickMode;
	//private BorderLayout bl;
	//private String[] leftClickModeOptions = {"Select Vertices By Box", "Select Vertices By Closest", "Move Vertices", "Add Vertex", "Add Edges By Closest", "Remove Edges By Closest", "Move Closest Vertex"};
	
	public GraphItPanel()
	{
		//createUI();
		//this.addMouseMotionListener(this);
		//this.addMouseListener(this);
	}
	
	//public void createUI()
	//{
		//mainScreen = new MainScreenLabel();
		//leftClickMode = new JComboBox(leftClickModeOptions);
		//leftClickMode.addActionListener(this);
		//bl = new BorderLayout();
		//setLayout(bl);
		//leftClickMode.setActionCommand("leftclickmode");
		//leftClickMode.addActionListener(this);
		//add(leftClickMode, BorderLayout.NORTH);
		//add(mainScreen, BorderLayout.CENTER);
	//}
	
	//public void actionPerformed(ActionEvent e)
	//{
		//log.debug("ActionPerformed");
		//log.debug(e);
		//if(e.getActionCommand().equals("leftclickmode"))
		//{
		//	mainScreen.setMode((String)leftClickMode.getSelectedItem());
	//	}
	//}
	
}
